﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom.Compiler;
using System.ServiceModel;
using System.Diagnostics;
using System.ServiceModel.Channels;

namespace MM.Common.Base
{
    [GeneratedCode("System.ServiceModel", "3.0.0.0"), DebuggerStepThrough]
    public class QueryReportClient : ClientBase<IQueryReport>, IQueryReport
    {
        // Methods
        public QueryReportClient()
        {
        }

        public QueryReportClient(string endpointConfigurationName): base(endpointConfigurationName)
        {
        }

        public QueryReportClient(Binding binding, EndpointAddress remoteAddress): base(binding, remoteAddress)
        {
        }

        public QueryReportClient(string endpointConfigurationName, EndpointAddress remoteAddress): base(endpointConfigurationName, remoteAddress)
        {
        }

        public QueryReportClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress)
        {
        }

        public string GetRegisterCode(string mac, ref string error)
        {
            return base.Channel.GetRegisterCode(mac, ref error);
        }

        public string GetReportInfo(string filename, ref string[] parmname, ref string[] dsname, ref string[] dsquery, ref string[] codemodule, ref string error)
        {
            return base.Channel.GetReportInfo(filename, ref parmname, ref dsname, ref dsquery, ref codemodule, ref error);
        }

        public string GetXtraReportInfo(string filename, ref string error)
        {
            return base.Channel.GetXtraReportInfo(filename, ref error);
        }

        public string Retrieve(string rcode, string mac, string report_code, string dataset, string query, string[] parm_value, string[] parm_type, ref string error)
        {
            return base.Channel.Retrieve(rcode, mac, report_code, dataset, query, parm_value, parm_type, ref error);
        }
    }
}
